package user.zc.config.user.config;

import lombok.Getter;
import user.zc.config.ValueType;
import user.zc.config.value.Key;

/**
 * @author zhouchuang
 * @date 2023/8/9 17:55
 */
@Getter
public class UserOutputFileConfig extends UserConfig<Key> {

    public UserOutputFileConfig() {
        super(ValueType.Value);
    }

    @Override
    public void loadConfig(String fileName)throws Exception {
        data = readEntity(fileName, Key.class);
    }
}
